<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="tiles"  uri="http://tiles.apache.org/tags-tiles" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title> <tiles:getAsString name="title"/></title><!-- 설정파일의 getAsString 문자열 가져올때 -->
<style type="text/css">

#container{
	width:1000px;
}
#header{
	padding: 5px;
	text-align:center;
	height:70px;
	border-bottom: 1px solid black;	
}
#submenu{
	padding: 5px;
	text-align:center;
	height: 50px;
	border-bottom: 1px solid black;
}
#smallmenu{
	padding: 5px;
	text-align:center;
	height: 40px;
	border-bottom: 1px solid black;
}
#content{
	padding: 5px;
	width:800px;
	height:800px;
	border-bottom: 1px solid black;
}
#footer{
	padding-top:5px;
	clear:both;
	text-align:center;
	height:30px;
	border-top: 1px solid black;
}
</style>
</head>
<body>

<div id="container" >

	<div id="header">
		<tiles:insertAttribute name="header"/>
	</div>
	<div id="submenu">
		<tiles:insertAttribute name="submenu"/>
	</div>
	<div id="smallmenu">
		<tiles:insertAttribute name="smallmenu"/>
	</div>
	<div id="content">
		<tiles:insertAttribute name="content"/>
	</div>
	<div id="footer" >
		<tiles:insertAttribute name="footer"/>
	</div>
</div>
</body>
</html>